package liy.demo.wikiproject.service;

import jakarta.annotation.Resource;
import liy.demo.wikiproject.domain.Test;
import liy.demo.wikiproject.mapper.TestMapper;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TestService {

    @Resource
    TestMapper testMapper;


    public List<Test> list(){
        return testMapper.selectAll();
    }
}
